package com.mrjy.maintain.bo;

import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;

import com.mrjy.common.entity.SubscriptionInfo;
import com.mrjy.common.entity.SubscriptionInfo;

public interface ISubscriptionInfoBo {

    public Object txInsert(SubscriptionInfo info);

    public Object txDeleteByIds(int[] ids);

    public Object txUpdateById(SubscriptionInfo info);

    /**
     * 根据ids禁用、起用用户
     *
     * @param session
     * @param ids
     * @return
     */
    public Object txUpdateDisableFlag(SubscriptionInfo info);

    Object queryByUserId(SubscriptionInfo info);


    Object queryByUserIdTeacherId(SubscriptionInfo info);

    Object isSubscript(SubscriptionInfo info);

    Object updateSub(SubscriptionInfo info);
}
